package com.coldchain.common.vo;

import java.io.Serializable;

/**
 * @ClassName OrderCountResultVo
 * @Description 订单计算结果
 * @Author fangliai
 * @Date 2018/9/22 13:23
 * @Vesion 1
**/
public class OrderCountResultVo implements Serializable {
    public OrderCountResultVo(){}
    public OrderCountResultVo(double orderPrice, String currentExpression, double usePrice,
                              boolean isIntercity, int discounts, int exceedKm, double exceedPrice) {
        this.orderPrice = orderPrice;
        this.currentExpression = currentExpression;
        this.usePrice = usePrice;
        this.isIntercity = isIntercity;
        this.discounts = discounts;
        this.exceedKm = exceedKm;
        this.exceedPrice = exceedPrice;
    }

    /**
     * 订单价格
     */
    private double orderPrice;
    /**
     * 当前订单计算公式
     */
    private String currentExpression;

    /**
     * 起步价
     */
    private double usePrice;

    /**
     * 当前计算方式是否为城际
     */
    private boolean isIntercity;

    /**
     * 当前折扣
     */
    private int discounts;
    /**
     * 超出公里数
     */
    private  int exceedKm;

    /**
     * 超出每公里收费率
     */
    private double exceedPrice;

    public String getCurrentExpression() {
        return currentExpression;
    }

    public void setCurrentExpression(String currentExpression) {
        this.currentExpression = currentExpression;
    }

    public double getUsePrice() {
        return usePrice;
    }

    public void setUsePrice(double usePrice) {
        this.usePrice = usePrice;
    }

    public boolean isIntercity() {
        return isIntercity;
    }

    public void setIntercity(boolean intercity) {
        isIntercity = intercity;
    }

    public int getDiscounts() {
        return discounts;
    }

    public void setDiscounts(int discounts) {
        this.discounts = discounts;
    }

    public int getExceedKm() {
        return exceedKm;
    }

    public void setExceedKm(int exceedKm) {
        this.exceedKm = exceedKm;
    }

    public double getExceedPrice() {
        return exceedPrice;
    }

    public void setExceedPrice(double exceedPrice) {
        this.exceedPrice = exceedPrice;
    }

    public double getOrderPrice() {
        return orderPrice;
    }

    public void setOrderPrice(double orderPrice) {
        this.orderPrice = orderPrice;
    }
}
